$OpenBSD: patch-lib_carbon_conf_py,v 1.2 2015/12/29 08:58:47 jasper Exp $
--- lib/carbon/conf.py.orig	Fri Nov 27 20:02:03 2015
+++ lib/carbon/conf.py	Tue Dec 29 09:57:09 2015
@@ -504,6 +504,7 @@ def read_config(program, options, **kwargs):
         settings.setdefault(name, value)
 
     graphite_root = kwargs.get("ROOT_DIR")
+    graphite_root = '/var/graphite/'
     if graphite_root is None:
         graphite_root = os.environ.get('GRAPHITE_ROOT')
     if graphite_root is None:
@@ -514,7 +515,7 @@ def read_config(program, options, **kwargs):
     # 'GRAPHITE_CONF_DIR' environment variable.
     settings.setdefault("CONF_DIR",
                         os.environ.get("GRAPHITE_CONF_DIR",
-                                       join(graphite_root, "conf")))
+                                       join("${SYSCONFDIR}", "graphite")))
     if options["config"] is None:
         options["config"] = join(settings["CONF_DIR"], "carbon.conf")
     else:
